package com.homer.iot.esptouch.model;

import com.homer.iot.esptouch.tcp.UartTCPUtil;

public class TemperatureSensor extends Slaver{
	public TemperatureSensor(String id, String type) {
		super(id, type);		
	}
	
	public  int getTemperature(){
		return UartTCPUtil.getTemperature(device.getDeviceIP());
	}
}
